package com.fc.entity.input;

import com.fc.annotation.WrapQuery;
import com.fc.checkGroup.Insert;
import com.fc.checkGroup.Update;
import com.fc.enums.CategoryEnum;
import com.fc.enums.WrapCondition;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CategoryQueryInput {

    @Schema(title = "分类名称")
    @WrapQuery(condition = WrapCondition.LIKE)
    private String name;

    @Schema(title = "分类类别")
    @WrapQuery(condition = WrapCondition.EQ)
    private CategoryEnum type;
}
